Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
Python Tutorial
1) Buildin Function
2) Buildin Module
3) CGI Web
4) Class
5) Collections
6) Data Type
7) Database
8) Dictionary
9) File
10) Function
11) Introduction
12) List
13) Network
14) Operator
15) Regular Expressions
16) Statement
17) String
18) Thread
19) Tkinker
20) Tuple
21) Windows
22) Wxpython
23) XML
Tkinker
1) 2 menus nested in one window
2) 2d table of input fields
3) 3 menus nested in the containers
4) 3 popup windows with menus
5) A quit button that verifies exit requests
6) A simple text or file viewer component
7) Add action command to menu item
8) Add button to frame
9) Add CheckButon to frame
10) Add double click action to canvas
11) Add equivalent pack window
12) Add gif image to canvas
13) Add image to button
14) Add image to Canvas
15) Add item to ListBox
16) Add item to the end of ListBox
17) Add Label and Entry by using table layout
18) Add label and resizing
19) Add Label to canvas
20) Add Menu item by adding command
21) Add RadioButton to a group
22) Add widgets to extended frame
23) Add widgets to wrapped GUI class
24) Alarm every 1000 milliseconds
25) Alarm hide
26) Alarm withdraw
27) An Application with a Button
28) Bind actions
29) Bind key action to button
30) Bind mouse action to a method
31) Bind mouse action to button
32) Bind mouse button with action function
33) Bind variable to RadioButton
34) Binding keys to keyboard events
35) Button action
36) Button graphics
37) Button text and command
38) Button Widget Demo
39) Call root quit from button
40) Call sys exit command from Button
41) Canvas click event
42) Canvas paint program
43) Change control background
44) Change line color
45) Check buttons, the easy way
46) Check buttons, the hard way (without variables)
47) Checkbox button bar
48) Color chooser
49) Color dialog
50) Config a button for its cursor background, font and border
51) Config Label for its background, font and size
52) Context Menus
53) Copying selected text from one text area to another
54) Counter and ComboBox
55) Create a story based on user input
56) Creating a Class to Handle User Interfaces
57) Creating a Label
58) Creating a multiple selection list
59) Default press action
60) Define __getattr__ for wrapped GUI class
61) Demonstrates a label
62) Demonstrates binding an event with an event handler
63) Demonstrates creating a window
64) Demonstrates text and entry widgets, and the grid layout manager
65) Deselect for radio buttons simply sets the buttons associated value to a null string
66) Destroy a frame
67) Disabled Text control
68) Display all attributes of an event
69) Displays the contents of a file from a Web server in a browser
70) Double left clicked
71) Drag with Left button
72) Draw arc
73) Draw elastic shapes on a canvas on drag, move on right click
74) Draw line
75) Draw oval
76) Draw rectangle
77) Draw text
78) Enter key event
79) Entry components and event binding demonstration
80) Error dialog
81) Extend frame class
82) Extend frame class the second time
83) File dialog
84) File menu
85) Frame Widgets and Centering
86) Frame with three buttons
87) Frame-based menus
88) Get key code
89) Get scale value
90) Grid layout
91) Grid layout manager demonstration
92) Hold on to your radio variables (an obscure thing, indeed)
93) Import all from Tkinter
94) Import only Label from Tkinter library
95) Label and Button Widget Demo
96) Label demonstration
97) Label Widget Demo
98) Label, Button, and Scale Demo
99) Lazy Buttons
100) Left button clicked
101) ListBox with scroll bar
102) Load file from FileDialog
103) Load image to PhotoImage
104) Menu command
105) MenuBars with Chioces
106) Message box
107) Message control
108) Middle button clicked
109) Model dialog
110) Mouse button differentiation
111) Mouse events example
112) Mouse inout action
113) No default root
114) OK Cancel message box
115) Option menu
116) Pack a frame
117) Pack control to the top
118) Pack control to Top, left and right
119) Pack layout manager demonstration
120) Pack left
121) Pack to TOP and RIGHT
122) Pack(expand=YES, fill=BOTH)
123) Popup dialog
124) Popup menu demonstration
125) Popup three new window, with style
126) Print a description of an event, based on its attributes
127) Question dialog
128) Radio button bar
129) Radio buttons, the easy way
130) RadioButtons and CheckButton
131) React to the check state of a check box
132) Read data from Entry
133) Remove the selected items
134) Right button clicked
135) Scale properties setting in constructor
136) Scale used to control the size of a circle
137) Scale Widgets
138) Scale with variable
139) Scrolled canvas
140) Scrolled list
141) ScrolledListBox to select image
142) See what happens when some buttons have same value
143) Set button background
144) Set button properties in its constructor
145) Set button properties using list syntax
146) Set controls properties through dictionary syntax
147) Set size of main window
148) Set text background
149) Set text for button with configure function
150) Set window title for main frame
151) Show current value of Scale
152) Show error dialog
153) Show information dialog
154) Show warning dialog
155) Simple 2d table
156) Simple Message Widget
157) Starndard File Menu
158) Subclass user-defined button class and redefined press-handler method
159) Text Widgets
160) Text with pre-set value
161) Tk8 0 style top-level window menus
162) To add button handling functionality to your application
163) Turn Text control to a password input field
164) Two top level windows
165) Up arrow key
166) Use Check buttons to change the font
167) Use extended frame class
168) Use lambda as action command
169) Use Radio buttons to change the font
170) Variable length parameters for event method
171) Working with Entry Fields and Grid Layouts
172) Wrap a command in a function
173) Wrap action command in a class
174) Wrap GUI design in a class